package com.imodia.checkoo.service;

import java.util.List;
import java.util.Map;

import com.hsq.commons.util.db.GenericDao;
import com.hsq.commons.util.db.PageBean;
import com.hsq.commons.util.db.PageResult;
import com.imodia.checkoo.bean.CmsArticleBean;



public interface CmsArticleService extends GenericDao<CmsArticleBean, Integer> {

	
	public  PageResult<CmsArticleBean> queryForPageBySql(CmsArticleBean obj,PageBean page);
	
	
	public  void queryBySql(CmsArticleBean obj,Map<String,Object> model,PageBean page);
	
	public int checked(int checked ,int adminId,int id);
	
	
	public List<CmsArticleBean> query(int documentId,int catalogueId,int startNum,int endNum);
	
	
	public int updateHtml(String htmlUrl,int id);
	
	public  List<CmsArticleBean> queryBySql(CmsArticleBean obj);
	

}